<html>
<head>
    <title>Ankle Biter's Pet Details</title>
    <link rel="stylesheet" href="<?php echo base_url();?>/system/application/css/styles.css" type="text/css" media="screen"/>
</head>
<body>
<div class="center">

<table style="width:1000px; height: 150px;" border="1">
    <tr>

        <td>
            <img src="<?php echo base_url();?>/system/application/images/petshopbanner.jpg" alt="Ankle Biter's Pet Shop" />
        </td>
        </tr>
</table>
<br />
 <table class="right" border="1">
    <tr>

        <td class="right">
            <form name="pet_list_page_button_form" action="display_pet_list" method="POST" style="display: inline;">
           <input type="submit" value="Home / Pets List" name="pet_list_page_button" /></form>
            <form name="about_us_page_button_form" action="display_about_us" method="POST" style="display: inline;">
           <input type="submit" value="About us" name="about_us_page_button" /></form>
           <form name="admin_login_page_button_form" action="display_site_update" method="POST" style="display: inline;">
           <input type="submit" value="Site Administration" name="site_update_page_button" /></form>
        </td>
    </tr>
 </table>
<br />
     <table style="width:100%;" border="2">
    <tr>

        <td class="style2" style="text-align: center">
            Pet Details
        </td>
    </tr>
    <tr>
       <form name="enquire_form" action="enquire" method="POST" style="display: inline;">
        <?php foreach($pet as $pet_selected): ?>
    <td style="background-color:#b5e619;">
    <table border="1" cellpadding="3" cellspacing="3" class="petdetailsbox" style="background-color:white;">
           <tr>
               <td class="style15"><img alt="<?php echo $pet_selected->name; ?>'s 1st picture" src="<?php echo base_url();?>/system/application/images/<?php echo $pet_selected->pic1; ?>" /></td>
           <td class="style15"><img alt="<?php echo $pet_selected->name; ?>'s 2nd picture" src="<?php echo base_url();?>/system/application/images/<?php echo $pet_selected->pic2; ?>" /></td>

           </tr>
            </table>
    <table border="1" cellpadding="3" cellspacing="3" class="petdetailsbox" style="background-color:white;">

           <tr>
           <td class="style8">Name:</td>
           <td><?php echo $pet_selected->name; ?></td>
           </tr>

           <tr>

           <td class="style8">Species:</td>
           <td><?php echo $pet_selected->species; ?></td>
           </tr>

           <tr>
           <td class="style8">Breed:</td>
           <td><?php echo $pet_selected->breed; ?></td>
           </tr>


           <tr>
           <td class="style19">Description:</td>
           <td class="style20"><?php echo $pet_selected->descript; ?></td>
           </tr>

           <tr>
           <td class="style17">Notes:</td>
           <td class="style18"><?php echo $pet_selected->notes; ?></td>

           </tr>
           </table>
<br />
           <table border="1" class="emailbox" style="background-color:white;">
           <tr>
               <td><h3 style="text-align: center" class="style22">Enquire about this pet below</h3></td>
           <tr>
               <td>
               <table border="1" cellpadding="3" cellspacing="3" class="inquirybox" style="background-color:white;">
                   <tr>
           <td class="style21">Email Address:</td>
           <td><input id="email" name="email" type="text" size="50" /></td>
           <td>required, must be a valid email</td>
           </tr>
           <tr>
           <td class="style21">Subject:</td>
           <td><input id="subject" name="subject" value="Question about <?php echo $pet_selected->name; ?> the <?php echo $pet_selected->species; ?>" type="text" size="50" maxlength="70" /></td>
           <td>required, max length 70</td>
           </tr>
           <tr>

           <td class="style21">Message:</td>
           <td><textarea id="message" name="message" cols="50" rows="6">I am interested in getting more information about <?php echo $pet_selected->name; ?>.</textarea></td>
           <td>required, max length 400</td>
           </tr>
           <tr>
               <td></td>
           <td><?php echo recaptcha(); ?><br /><input id="Button1" type="submit" value="Click to send email inquiry" /></td>
           
           </tr>
           </table>
</td>
           </tr>
           </table>
           </td>
            <?php endforeach; ?>
           </form>
    </tr>
            
</table>

</div>
</body>
</html>
